
public class Test {

	public static void main(String[] args) {
		People p1 = new People("Chris","Bun","Happy",22);
		People p2 = new People("Steph","Bun","Mad",23);
		People p3 = new People("Sean","Dacanay","Excited",22);
		People p4 = new People("Kyle","Sweeney","Giddy",22);
		Car c1 = new Car(1993,"Toyota","Camry");
		Car c2 = new Car(2008,"Lexus","IS250");
		Car c3 = new Car(2005,"Volkswagon","Passat");
		
		System.out.println(p1.showPerson());
		System.out.println(p2.showPerson());
		System.out.println(p3.showPerson());
		System.out.println(p4.showPerson());
		System.out.println(c1.showCar());
		System.out.println(c2.showCar());
		System.out.println(c3.showCar());
		
		//Person 1 buys Car1 and Car2
		System.out.println(p1.buyNewCar(c1));
		System.out.println(p1.buyNewCar(c2));
		System.out.println(p1.buyNewCar(c3));
		System.out.println(p2.buyNewCar(c3));
		System.out.println(p3.buyNewCar(c3));
		System.out.println(p3.buyUsedCar(c2, p1));		
		System.out.println(p3.buyUsedCar(c3, p2));		
		System.out.println(p2.buyUsedCar(c2, p1));
		
		System.out.println(p1.showPerson());
		System.out.println(p2.showPerson());
		System.out.println(p3.showPerson());
		System.out.println(p4.showPerson());
		System.out.println(c1.showCar());
		System.out.println(c2.showCar());
		System.out.println(c3.showCar());

	}

}
